//
//  QRCodeViewController.h
//  QRCodeDemo
//
//  Created by liuyuecheng on 15/6/24.
//  Copyright (c) 2015年 liuyuecheng. All rights reserved.
//


// ~ +command  快速切换工程
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
@interface QRCodeViewController : UIViewController<AVCaptureMetadataOutputObjectsDelegate>
//遵守扫描结果协议

@property (strong,nonatomic)AVCaptureDevice * device;//扫描设备
@property (strong,nonatomic)AVCaptureDeviceInput * input;//输入
@property (strong,nonatomic)AVCaptureMetadataOutput * output;//输出
@property (strong,nonatomic)AVCaptureSession * session;//会话
@property (strong,nonatomic)AVCaptureVideoPreviewLayer * preview;//扫描框
@end
